package org.springblade.tms.module.demandorder.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @projectName: BladeX
 * @package: org.springblade.tms.module.demandorder.dto
 * @className: DemandOrderDto
 * @author: yr
 * @description: 需求单列表查询入参
 * @date: 2022/3/17 10:00
 */
@Data
@ApiModel(value = "DemandOrderDto对象", description = "需求单查询入参")
public class DemandOrderDto {

	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	@ApiModelProperty(value = "需求单号")
	private String demandOrderNumber;
	/**
	 * 货运订单号
	 */
	@ApiModelProperty(value = "货运订单号")
	private String orderNo;
	/**
	 * 货运订单类型
	 */
	@ApiModelProperty(value = "货运订单类型")
	private String orderType;
	/**
	 * 交货单号
	 */
	@ApiModelProperty(value = "交货单号")
	private String deliverNo;
	/**
	 * 源位置
	 */
	@ApiModelProperty(value = "源位置")
	private String startLocationNo;
	/**
	 * 承运商名称
	 */
	@ApiModelProperty(value = "承运商名称")
	private String carrierName;
	/**
	 * 目标位置
	 */
	@ApiModelProperty(value = "目标位置")
	private String targetLocationNo;
	/**
	 * 计划提货日期-开始
	 */
	@ApiModelProperty(value = "计划提货日期")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime planGetGoodsDateStart;
	/**
	 * 计划提货日期-结束
	 */
	@ApiModelProperty(value = "计划收货日期")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime planGetGoodsDateEnd;
	/**
	 * 计划收货日期-开始
	 */
	@ApiModelProperty(value = "计划收货日期")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime plannedDeliveryDateStart;
	/**
	 * 计划收货日期-结束
	 */
	@ApiModelProperty(value = "计划收货日期")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime plannedDeliveryDateEnd;
	/**
	 * 需求单状态
	 */
	@ApiModelProperty(value = "需求单状态")
	private String demandStatus;
	/**
	 * 罐箱类型
	 */
	@ApiModelProperty(value = "货运订单类型")
	private String freightOrderTypes;
}
